package com.sicau.socialpracticesystem.entity.param.prize;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * <p>
 * 奖品添加参数
 * </p>
 *
 * @author sxt && ttxxi
 * @since 2021-04-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "奖品添加参数", description = "奖品添加参数")
public class PrizeUpdateParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "奖品名称", required = true)
    private String priceName;

    @Min(0)
    @ApiModelProperty(value = "需要的积分")
    private Double needPoints;

    @Min(0)
    @ApiModelProperty(value = "奖品数量")
    private Long prizeNumber;

    @ApiModelProperty(value = "建议做下拉框 是否上架兑换(0: 否, 1: 是) 默认1")
    private Integer onExchanging;


}
